package com.pandas.community.Utils;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by Liu Jiangang Cotter on 2021/3/23.
 */
public interface CommunityConstant {
    //激活使用
    int ACTIVATION_SUCCESS = 0;
    int ACTIVATION_REPEAT = 1;
    int ACTIVATION_FAILED = 2;

    //登录凭证时间
    // 12h
    int DEFAULT_EXPIRED_SECONDS = 3600 * 12;

    //100天
    int REMEMBER_EXPIRED_SECONDS = 3600 * 24 * 100;

    // 评论针对帖子
    int ENTITY_TYPE_POST = 1;

    // 评论针对帖子下的评论
    int ENTITY_TYPE_COMMENT = 2;

    // 评论用户
    int ENTITY_TYPE_USER = 3;

    //主题：评论
    String TOPIC_COMMENT = "comment";

    //主题：点赞
    String TOPIC_LIKE = "like";

    //主题：关注
    String TOPIC_FOLLOW = "follow";

    int SYSTEM_USER_ID = 1;
}
